﻿
namespace AdapterDesignPattern
{
    public class EmployeeAdapter : Contact
    {
        private Employee employee;

        public EmployeeAdapter(Employee employee)
        {
            this.employee = employee;
        }

        public override string FullName
        {
            get { return employee.FirstName + " " + employee.LastName; }
        }
    }
}
